<template>
  <div>
    用户名：<input type="text" v-model.trim="username">
    密码：<input type="password" v-model="password">
    <br>
    这是用户输入的账号和密码：{{ username }} / {{ password }}
  </div>
</template>

<script setup>
    import { ref } from 'vue';
    const username = ref('ruanjiangognchengxi');
    const password = ref('');
</script>

<style>

</style>